A10 - Resort Hotel
提出
code: python
n = int(input())
a = list(map(int, input().split()))
d = int(input())
# O(N**2)
# 1 2 5 5 2 3 1
# 結局全ての差を求める必要がある
# 無意味
解答
code: python
n = int(input())
a = list(map(int, input().split()))
d = int(input())
# 1 2 5 5 2 3 1
for i in range(1, n):
for i in reversed(range(0,n-1)):
# print(p, q)
# 1, 2, 5, 5, 5, 5, 5 5, 5, 5, 5, 3, 3, 1 for l, r in lr: